package com.android.controller_wifi;

import com.wang.controller_wifi.manager.WifiManager;

import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class BaseActivity extends Activity {
	
	protected Dialog pd;
	protected WifiManager manager;
	protected TextView tv_pd;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		manager = MainApplication.mainApp.manager;
		pd = new Dialog(this, R.style.CustomProgressDialog);
		View view = View.inflate(this, R.layout.progress_dialog, null);
		tv_pd = (TextView) view.findViewById(R.id.tv_progress_msg);
		pd.setContentView(view);
	}

}
